package com.example.jyjava.bean;

public class ShopQueryInfo {
    private String query; //查询信息
    private int pageNum = 1; //当前页数
    private int pageSize = 1;//每页最大数
    private Integer userId;
    private Integer sellerId;
    private Integer consentId;

    public ShopQueryInfo() {
    }

    public ShopQueryInfo(String query, int pageNum, int pageSize,Integer userId,Integer sellerId,Integer consentId) {
        this.query = query;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.userId = userId;
        this.sellerId = sellerId;
        this.consentId = consentId;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public Integer getConsentId() {
        return consentId;
    }

    public void setConsentId(Integer consentId) {
        this.consentId = consentId;
    }

    @Override
    public String toString() {
        return "ShopQueryInfo{" +
                "query='" + query + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", userId=" + userId +
                ", sellerId=" + sellerId +
                ", consentId=" + consentId +
                '}';
    }
}
